Learn R Programming

scModels (version 1.0.4)

Inverse Gaussian: Inverse Gaussian Distribution

Description

random generation function for the inverse Gaussian distribution: Mu and lambda are the parameters of this distribution.

Usage

rInvGaus(n, mu, lambda)

Arguments

n

Number of observations

mu, lambda

Non-negative parameters of the inverse Gaussian distribution (mean and shape)

Examples

Run this code
 RV <- rInvGaus(n = 100, mu = 10, lambda = 2)

Run the code above in your browser using DataLab